// 基础路由
const baseRouter = [{
    path: '/homePage',
    component: (resolve) => require(['@/views/main/homepage/index.vue'], resolve),
    name: 'home',
    meta: {
      title: 'home',
      icon: 'icon-ym icon-ym-nav-home',
      affix: true,
      zhTitle: '首页'
    }
  },
  {
    path: '/messageRecord',
    component: (resolve) => require(['@/views/basic/messageRecord'], resolve),
    name: 'messageRecord',
    meta: {
      title: 'messageRecord',
      affix: false,
      zhTitle: '消息中心',
      icon: 'icon-ym icon-ym-sysNotice',
    }
  },
  {
    path: '/previewModel',
    component: (resolve) => require(['@/views/basic/dynamicModel'], resolve),
    name: 'previewModel',
    meta: {
      title: 'previewModel',
      affix: false,
      zhTitle: '功能预览',
      icon: 'icon-ym icon-ym-btn-preview',
    }
  },
  {
    path: '/profile',
    component: (resolve) => require(['@/views/basic/profile'], resolve),
    name: 'profile',
    meta: {
      title: 'profile',
      affix: true,
      zhTitle: '个人信息',
      icon: 'icon-ym icon-ym-user',
    }
  },
  // {
  //   path: '/interview/guidePage1',
  //   component: (resolve) => require(['@/views/main/interviewFlow/whu_guidePage1'], resolve),
  //   name: 'guidePage1',
  //   meta: {
  //     title: 'guidePage1',
  //     affix: true,
  //     zhTitle: '面试导览',
  //     icon: 'icon-ym icon-ym-user',
  //   }
  // },{
  //   path: '/interview/guidePage2',
  //   component: (resolve) => require(['@/views/main/interviewFlow/whu_guidePage2'], resolve),
  //   name: 'guidePage2',
  //   meta: {
  //     title: 'guidePage2',
  //     affix: true,
  //     zhTitle: '面试导览-设备测试',
  //     icon: 'icon-ym icon-ym-user',
  //   }
  // },
  {
    path: '/simulate',
    component: (resolve) => require(['@/views/main/interview/simulate/index.vue'], resolve),
    name: 'simulate',
    meta: {
      title: 'simulate',
      affix: true,
      zhTitle: '模拟面试（练习模式）',
      icon: 'icon-ym icon-ym-user',
    }
  },
  {
    path: '/simulate2',
    component: (resolve) => require(['@/views/main/interview/simulate/index2.vue'], resolve),
    name: 'simulate2',
    meta: {
      title: 'simulate2',
      affix: true,
      zhTitle: '模拟面试（模拟模式）',
      icon: 'icon-ym icon-ym-user',
    }
  },
  {
    path: '/analysis',
    component: (resolve) => require(['@/views/basic/profile/components/try.vue'], resolve),
    name: 'analysis',
    meta: {
      title: 'analysis',
      affix: true,
      zhTitle: '面试分析报告',
      icon: 'icon-ym icon-ym-user' // 使用合适的图标
    }
  },
  {
    path: '/analysis2',
    component: (resolve) => require(['@/views/main/interview/simulate/try.vue'], resolve),
    name: 'analysis2',
    meta: {
      title: 'analysis2',
      affix: true,
      zhTitle: '面试分析报告2',
      icon: 'icon-ym icon-ym-user' // 使用合适的图标
    }
  },
  {
    path: '/scene',
    component: (resolve) => require(['@/views/main/interviewFlow/whu_sceneOption/index.vue'], resolve),
    name: 'scene',
    meta: {
      title: 'scene',
      affix: true,
      zhTitle: '面试场景选择',
      icon: 'icon-ym icon-ym-user' // 使用合适的图标
    }
  },
  {
    path: '/guide1',
    component: (resolve) => require(['@/views/main/interviewFlow/whu_guidePage1'], resolve),
    name: 'guide1',
    meta: {
      title: 'guide1',
      affix: true,
      zhTitle: '面试导览1',
      icon: 'icon-ym icon-ym-user' // 使用合适的图标
    }
  },
  {
    path: '/guide2',
    component: (resolve) => require(['@/views/main/interviewFlow/whu_guidePage2'], resolve),
    name: 'guide2',
    meta: {
      title: 'guide2',
      affix: true,
      zhTitle: '面试导览2',
      icon: 'icon-ym icon-ym-user' // 使用合适的图标
    }
  },
]
export default baseRouter
